package com.juicygames.undoer.ball;

import com.juicygames.framework.gamepart.GamePart;
import com.juicygames.framework.property.GameProperty;
import com.juicygames.framework.type.Point;

public class OldPosition extends GamePart implements GameProperty<Point> {
	
	Point point;
	
	public OldPosition(GamePart parent) {
		super(parent);
		point = new Point();
	}

	public Point get() {
		return point;
	}

	public GameProperty<Point> set(Point value) {
		point.set(value.x, value.y);
		return this;
	}
	
	

}
